package com.wf.smartcomm.server.service;

import java.util.List;

import com.wf.smartcomm.server.bean.Merchant;
import com.wf.smartcomm.server.bean.Terminal;

public interface TerminalService {
	void save(Terminal terminal)throws Exception;
	Terminal getByToken(String token)throws Exception;
	Terminal get(String id)throws Exception;
	List<Terminal> list()throws Exception;
	List<Terminal> list(Merchant merchant)throws Exception;
	void update(Terminal terminal)throws Exception;
}
